import bpy
from . import Operator

bl_info = {
    "name": "카트 1s 임포터",
    "author": "Discord Adobe#7248",
    "description": "개쩌는 1s임포터",
    "blender": (2, 93, 0),
    "version": (1, 0, 2),
    "location": "",
    "warning": "",
    "category": "Import-Export"
}


# Only needed if you want to add into a dynamic menu
def menu_func_import(self, context):
    self.layout.operator(Operator.Import1s.bl_idname, text="Kartrider (.1s)")

def menu_func_export(self, context):
    self.layout.operator(Operator.ExportKTM.bl_idname, text="Kartrider (.ktm)")

def register():
    bpy.utils.register_class(Operator.Import1s)
    bpy.utils.register_class(Operator.ExportKTM)
    bpy.types.TOPBAR_MT_file_import.append(menu_func_import)
    bpy.types.TOPBAR_MT_file_export.append(menu_func_export)


def unregister():
    bpy.utils.unregister_class(Operator.Import1s)
    bpy.utils.unregister_class(Operator.ExportKTM)
    bpy.types.TOPBAR_MT_file_import.remove(menu_func_import)
    bpy.types.TOPBAR_MT_file_export.remove(menu_func_export)